import 'package:easy_refresh/easy_refresh.dart';
import 'package:sainbainu/common/models/request/pager_request.dart';
import 'package:sainbainu/common/models/response/content_response.dart';
import 'package:sainbainu/common/models/response/group_list_response.dart';
import 'package:sainbainu/common/repositories/content_repository.dart';
import 'package:sainbainu/common/repositories/group_repository.dart';

class MyGroupState {
  int count = 0;

  /// 刷新控制器
  late EasyRefreshController refreshController;

  /// 小组仓库
  late GroupRepository groupRepository;

  /// 小组列表
  GroupListResponse groupListResponse = GroupListResponse(rows: [], total: 0);

  /// 内容仓库
  late ContentRepository contentRepository;

  /// 分页请求
  late PagerRequest pagerRequest;

  /// 内容
  ContentListResponse contentListResponse = ContentListResponse(
    total: 0,
    rows: [],
  );

  /// 是否有更多
  bool hasMore = false;
}
